#!/usr/bin/sh

if [ $# -ne 2 ]; then
	echo "Usage: sh clientlaunch.sh <num nodes> <erlang node name>"
	exit 1
fi

NUMNODE="$1"
NODE="$2"
SCRIPT="prj2.erl"

echo "c(prj2). c(db). prj2:han_init(${NUMNODE}, \"files\", 1)." | erl -name ${NODE}
